<html xmlns:tomboy="http://beatniksoftware.com/tomboy" xmlns:link="http://beatniksoftware.com/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>ubuntu下安装F 5</title><style type="text/css">
        
	body {  }
	h1 { font-size: xx-large;
     	     font-weight: bold;
     	     border-bottom: 1px solid black; }
	div.note {
		   position: relative;
		   display: block;
		   padding: 5pt;
		   margin: 5pt; 
		   white-space: -moz-pre-wrap; /* Mozilla */
 	      	   white-space: -pre-wrap;     /* Opera 4 - 6 */
 	      	   white-space: -o-pre-wrap;   /* Opera 7 */
 	      	   white-space: pre-wrap;      /* CSS3 */
 	      	   word-wrap: break-word;      /* IE 5.5+ */ }
	</style></head><body><div class="note" id="ubuntu下安装F 5"><a name="ubuntu下安装f 5"></a><h1>ubuntu下安装F 5</h1>
1. sudo easy_<a style="color:#204A87" href="../mongodb/Install.html">install</a> pyf5 

可能会遇到这样当错误
	greenlet.h:8:20: 致命错误： Python.h：没有那个文件或目录
	编译中断。
	error: Setup script exited with error: command 'gcc' failed with exit status 1 


2. 解决方法是安装python-dev，这是Python的头文件和静态库包:

	sudo apt-get <a style="color:#204A87" href="../mongodb/Install.html">install</a> python-dev

3. 安装easy_<a style="color:#204A87" href="../mongodb/Install.html">install</a>
	sudo apt-get <a style="color:#204A87" href="../mongodb/Install.html">install</a> python-setuptools 
</div></body></html>